package com.sample.client;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Url;

public interface HttpServer {
    @GET
    Call<String> request(@Url String url);

    @FormUrlEncoded
    @POST("test.do")
    Call<String> test(@Field("account") String account, @Field("password") String password);
}
